#include<iostream>
#include<cmath>
using namespace std;


int main()
{
 int S;
 double R,L,D;
 cout<<"\n Vvedite S: ";
 cin>>S;
 R=sqrt(S/M_PI);
 L=2*M_PI*R;
 cout<<"\n L= "<<L;
 D=2*R;
 cout<<"\n D= "<<D;
 return 0;
}
